package com.woniuxy.produce.es;

import com.woniuxy.produce.pojo.FinanceSku;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface SkuEs extends ElasticsearchRepository<FinanceSku,Long> {
    /**
     * 根据描述分页查询SKU列表
     * @param describe
     * @param pageable
     * @return
     */
    Page<FinanceSku> findFinanceSkuByFinanceSkuDescribe(String describe, Pageable pageable);
}
